<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="./lib/fa/css/font-awesome.min.css">
  <link rel="stylesheet" href="./lib/mui/css/mui.min.css">
  <link rel="stylesheet" href="./lib/zepto/zepto.min.js">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/category.css">
</head>

<body>
  <div class="lt-containner">
    <!-- 头部 -->
    <div class="lt-thead">
      <div class="home mui-pull-left">
        <a href="index.html"><i class="fa fa-home"></i></a>
      </div>
      <h4>乐淘云购</h4>
      <div class="search  mui-pull-right">
        <a href="search.html"><i class="fa fa-search"></i></a>

      </div>
    </div>
    <!-- 内容 -->
    <div class="lt-main">
      <div class="lt-aside">
        <div class="mui-scroll-wrapper">
          <div class="mui-scroll">
            <!--这里放置真实显示的DOM内容-->
            <ul class="lt-cat">
              <li><a href="#">运动馆</a></li>
              <li><a href="#">运动馆</a></li>
              <li><a href="#">运动馆</a></li>
              <li><a href="#">运动馆</a></li>
            </ul>
          </div>

        </div>
      </div>
      <div class="lt-content">
        <ul>
          <li>
            <!-- <a href="#">
              <img src="./images/brand1.png" alt="">
              <p>耐克</p>
            </a> -->
          </li>

        </ul>
      </div>
    </div>
    <!-- 底部 -->
    <div class="lt-tfroot">
      <ul>
        <li>
          <a href="index.html">
            <i class="fa fa-home"></i>
            <p> 首页</p>
          </a>
        <li>
          <a href="index.html">
            <i class="fa fa-reorder bgc"></i>
            <p class="bgc"> 分类页</p>
          </a>
        </li>
        <li>
          <a href="cart.html">
            <i class="fa fa-cart-plus"></i>
            <p>购物车</p>
          </a>
        <li>
          <a href="user.html">
            <i class="fa fa-user"></i>
            <p>用户中心</p>
          </a>
        </li>
      </ul>
    </div>
  </div>
  <!-- 模板引擎 -->
  <script type='text/html' id='tmp'>
  {{each rows v i}}
    
    <li class='{{ i === 0 ? "lt-bdbgc" : ""}}'><a href="#" data-id={{v.id}}>{{v.categoryName}}</a></li>
  {{/each}}
</script>

  <script type='text/html' id='tmp-one'>
  {{each rows v i}}
  <li>
      <a href="#">
        <img src="{{v.brandLogo}}" alt="" width='70' height='50'>
        <p>{{v.brandName}}</p>
      </a>
    </li>
  {{/each}}
</script>

  <script src="./lib/mui/js/mui.js"></script>
  <script src="./lib/zepto/zepto.min.js"></script>
  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/category.js"></script>
</body>

</html>